﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="EvalReward.ascx.cs" Inherits="EvalReward" %>
<table>
<tr><td>
奖励标准<br />
<asp:GridView ID="GridView_Reward" runat="server" 
        DataSourceID="ObjectDataSource_Reward" AutoGenerateColumns="False" 
        onrowupdating="GridView_Reward_RowUpdating" 
        onrowdatabound="GridView_Reward_RowDataBound">
    <FooterStyle CssClass="FooterStyle" />
    <RowStyle CssClass="RowStyle" />
    <EmptyDataRowStyle CssClass="EmptyRowStyle" />
    <PagerStyle CssClass="PagerStyle" />
    <SelectedRowStyle CssClass="SelectedRowStyle" />
    <HeaderStyle CssClass="HeaderStyle" />
    <EditRowStyle CssClass="EditRowStyle" />
    <AlternatingRowStyle CssClass="AltRowStyle" />
    <Columns>
        <asp:BoundField DataField="Id" HeaderText="序号" ReadOnly="True"/>
        <asp:BoundField DataField="Level" HeaderText="等级" ReadOnly="True"/>
        <asp:BoundField DataField="EvalHigh" HeaderText="优秀" />
        <asp:BoundField DataField="EvalMiddle" HeaderText="良好" />
        <asp:BoundField DataField="EvalLow" HeaderText="合格" />
        <asp:CommandField ShowEditButton="True" />
    </Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ObjectDataSource_Reward" runat="server" SelectMethod="GetRewards"
    TypeName="RewardDB" DataObjectTypeName="RewardDetail" UpdateMethod="UpdateReward">
    </asp:ObjectDataSource>
    </td></tr>
</table>